package com.rgs.pay.wechat;

import io.swagger.annotations.ApiModelProperty;

/**
 * @author Ren Gaoshuai
 * @ClassName WeChatRequestDTO
 * @date 2022-08-17 20:46
 * 微信H5支付下单请求
 * 微信H5下单接口参考(https://pay.weixin.qq.com/wiki/doc/api/H5.php?chapter=9_20&index=1)
 **/
public class WeChatH5RequestDTO {
    @ApiModelProperty(value="商户id")

    private String organizeId;
    @ApiModelProperty("随机数")

    private String nonceStr;
    @ApiModelProperty(value = "商品描述")

    private String body;
    @ApiModelProperty(value = "附加数据")
    private String attach;
    @ApiModelProperty(value = "商户订单号")

    private String outTradeNo;
    @ApiModelProperty(value = "货币类型", example = "CNY")
    private String feeType;
    @ApiModelProperty(value = "总金额(分)")
    private Integer totalFee;
    @ApiModelProperty(value = "终端IP(必须传正确的用户端IP,支持ipv4)")
    private String spbillCreateIp;
    @ApiModelProperty(value = "交易类型固定值", example = "MWEB")

    private String tradeType;
    @ApiModelProperty(value = "商品ID")
    private String productId;
    @ApiModelProperty(value = "用户标识")
    private String openid;

    @ApiModelProperty(value = "场景信息",example = "h5_info:h5支付固定传h5_info;type:场景类型;app_value:应用名;package_value:包名")

    private String sceneInfo;
}
